package com.server;

import cn.hutool.db.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;
import com.entity.TTreeNodeReq;
import com.entity.TTreeNode;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chl
 * @since 2021-12-18
 */
public interface ITTreeNodeService extends IService<TTreeNode> {

    /**
     * @Author chl
     * @Description 新增接口
     * @Date 19:10 2021/12/20
     * @param tTreeNode tTreeNode
     * @return response response
     **/
    Boolean add(TTreeNodeReq tTreeNode);

    PageResult<List<TTreeNode>> listPage(TTreeNodeReq tTreeNodeReq);
}
